package com.linghang.association.req;

/**
 * @author LinyaT052
 * @date 2022年07月25日 14:43
 * 新增管理员请求
 */
public class NewAdminReq {
    private Integer id;
    //用户名
    private String username;
    //密码
    private String password;
    //部门
    private Integer department;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getDepartment() {
        return department;
    }

    public void setDepartment(Integer department) {
        this.department = department;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", username=").append(username);
        sb.append(", password=").append(password);
        sb.append(", department=").append(department);
        sb.append("]");
        return sb.toString();
    }
}
